package pl.zmudzinski.jdk.newsletter.provider;

import com.google.inject.Provider;
import pl.zmudzinski.jdk.newsletter.model.Newsletter;

import java.util.Date;

/**
 * @author lukasz.zmudzinski
 */
public class NewsletterProvider implements Provider<Newsletter>{
    public Newsletter get() {
        System.out.println("NewsletterProvider#get");
        return new Newsletter("Read all about it !!", new Date());
    }
}
